Skip to content

[RELEASE] 데모데이를 위한 redirect 기능 배포#270

Merged
MlNTYS merged 1 commit intomainfrom
develop
Feb 20, 2026
Merged

[RELEASE] 데모데이를 위한 redirect 기능 배포#270
MlNTYS merged 1 commit intomainfrom
develop

Conversation

@MlNTYS
Copy link
Contributor

@MlNTYS MlNTYS commented Feb 20, 2026

🔀 Pull Request Title

데모데이를 위한 redirect 기능 배포

@MlNTYS MlNTYS self-assigned this Feb 20, 2026
@MlNTYS MlNTYS added the release label Feb 20, 2026
@vercel
Copy link

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
finders Ready Ready Preview, Comment Feb 20, 2026 2:44am

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @MlNTYS, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 데모데이를 위해 프로모션 배너 컴포넌트에 임시 리다이렉트 기능을 도입합니다. 첫 번째 프로모션 배너를 클릭하면 특정 '/demo-day' 경로로 이동할 수 있도록 합니다. 이 변경 사항은 데모데이 이후 제거될 예정인 임시적인 기능으로 명시되어 있습니다.

Highlights

  • 리다이렉트 기능 추가: 데모데이를 위해 프로모션 배너에 클릭 시 특정 경로로 이동하는 리다이렉트 기능을 임시로 추가했습니다.
  • useNavigate 훅 도입: react-routeruseNavigate 훅을 PromotionBanner.tsx 컴포넌트에 가져와 사용했습니다.
  • 배너 데이터 구조 변경: MainBannerProps 인터페이스에 선택적 link 속성을 추가하여 배너가 이동할 경로를 지정할 수 있도록 했습니다.
  • 첫 번째 배너에 링크 적용: 첫 번째 프로모션 배너에 /demo-day 경로로 연결되는 link를 할당했습니다.
  • 임시 기능 명시: 모든 관련 변경 사항은 데모데이 이후 제거될 임시 기능임을 주석으로 명시했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • src/components/mainPage/PromotionBanner.tsx
    • useNavigate 훅을 가져왔습니다.
    • MainBannerProps 인터페이스에 link 속성을 추가했습니다.
    • 첫 번째 배너 데이터에 /demo-day 링크를 할당했습니다.
    • 배너 클릭 시 link 속성에 따라 페이지를 이동하는 로직을 추가했습니다.
Activity
  • 이 PR에 대한 활동 내역은 제공되지 않았습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

데모데이를 위한 프로모션 배너 리디렉션 기능 추가 잘 보았습니다. 전반적으로 데모데이용 임시 코드임을 명확히 표시해주셔서 이해하기 좋았습니다.

한 가지 개선점을 제안드립니다. divonClick을 사용하여 링크를 구현하셨는데, 이 경우 키보드 사용자가 배너를 이용할 수 없는 접근성 문제가 있습니다. tabIndexonKeyDown 핸들러를 추가하여 키보드 접근성을 보장하는 것이 좋습니다. 자세한 내용은 코드 리뷰 댓글을 참고해주세요.

Comment on lines +60 to +62
onClick={banner.link ? () => navigate(banner.link!) : undefined}
role={banner.link ? "link" : undefined}
style={banner.link ? { cursor: "pointer" } : undefined}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

링크 역할을 하는 div 요소의 접근성을 개선하기 위해 키보드 탐색 및 실행 기능을 추가하는 것이 좋습니다.

  1. tabIndex="0"을 추가하여 키보드 사용자가 요소에 포커스할 수 있도록 합니다.
  2. onKeyDown 핸들러를 추가하여 'Enter' 또는 'Space' 키로 내비게이션을 트리거할 수 있게 합니다. 'Space' 키의 경우 e.preventDefault()를 호출하여 페이지 스크롤을 방지하는 것이 좋습니다.
  3. banner.link!의 non-null assertion(!)은 onClickbanner.link가 존재할 때만 할당되므로 불필요합니다.

아래와 같이 수정하는 것을 제안합니다.

(참고: 제안을 적용하시면 // [demo-day] 아래 3줄 데모데이 끝나면 제거 주석도 5줄로 업데이트해야 합니다.)

            onClick={banner.link ? () => navigate(banner.link) : undefined}
            onKeyDown={banner.link ? (e) => {
              if (e.key === "Enter" || e.key === " ") {
                e.preventDefault();
                navigate(banner.link);
              }
            } : undefined}
            role={banner.link ? "link" : undefined}
            tabIndex={banner.link ? 0 : undefined}
            style={banner.link ? { cursor: "pointer" } : undefined}

@MlNTYS MlNTYS merged commit 55da519 into main Feb 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant